package com.ah.proj.bus.user.service;

import com.ah.proj.bean.User;
import com.ah.proj.bus.user.dao.UserDao;

public class UserService {
	private UserDao dao = new UserDao();

	public boolean isUserExist(String username) {
		return dao.isUserExist(username);
	}

	public User login(User u) {
		return dao.login(u);
	}

	public int register(User u) {
		return dao.register(u);
	}
}
